package com.dycong.common.database.hibernate3;

import java.io.Serializable;

/**
 * Created by Kenti on 2016/3/1.
 */
public interface IHibernateBaseDao<T, ID extends Serializable> {
    T save(T bean);
    T get(ID id, boolean lock);
    T get(ID id);
    T updateByUpdater(Updater<T> updater) ;
    T deleteById(ID id);
}
